<?php

use think\facade\Route;

Route::group('api', function () {
    Route::any('', 'api.index/index');

    Route::any('ai/translation', 'api.ai/translation');
    Route::any('ai/doImage', 'api.ai/doImage');
    Route::any('ai/getImage', 'api.ai/getImage');

    Route::any('upload/file', 'api.upload/uploadFile');
    Route::any('upload/image', 'api.upload/uploadImage');
});
